#ifndef QMANAGERWIDGET_H
#define QMANAGERWIDGET_H

#include <QWidget>
#include "../qtableattribute.h"
#include <QScopedPointer>
QT_BEGIN_NAMESPACE
class QSqlDatabase;
class QManagerWidgetPrivate;
class QManagerWidget : public QWidget
{
    Q_OBJECT

public:
    explicit QManagerWidget(QWidget *parent = nullptr);
    ~QManagerWidget();
    bool init(QSqlDatabase *_db, QTableAttribute *_tableAttribute);
signals:
private:
    Q_DECLARE_PRIVATE(QManagerWidget)
    QManagerWidgetPrivate * const d_ptr;
};
QT_END_NAMESPACE
#endif // QMANAGERWIDGET_H
